<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>universidad.com</title>
        <link href="jq/humanity/jquery-ui-1.10.4.custom.min.css" type="text/css" rel="stylesheet"/>
        <link href="css/main.css" type="text/css" rel="stylesheet"/>
        <link href="alumno/form/form.css" type="text/css" rel="stylesheet"/>

        <script src="jq/jquery/jquery-1.10.2.js" type="text/javascript"></script>
        <script src="jq/jquery/jquery-ui-1.10.4.custom.min.js" type="text/javascript"></script>
        <script src="alumno/form/form.js" type="text/javascript"></script>
        <script src="js/main.js" type="text/javascript"></script>
    </head>
    <body>
        <form class="alumno" action="Alumnos" 
              style="margin: auto;display: table">
            <input type="hidden" name="accion" value="INS"/>

            <fieldset>
                <legend>Ingreso de Notas</legend>

                <table class="tabla">
                    <tr>
                        <td><label for="alumno">Nombre</label></td>
                        <td>
                            <input type="text" name="alumno" 
                                   style="width: 200px"  maxlength="50" 
                                   value="${alumno.alumno}"/>
                        </td>
                    </tr>

                    <tr>
                        <td><label for="nota1">Nota 1</label></td>
                        <td>
                            <input type="text" name="nota1" maxlength="10" 
                                   style="width: 60px;text-align: right" 
                                   value="${alumno.nota1}"/>
                        </td>
                    </tr>


                    <tr>
                        <td><label for="nota2">Nota 2</label></td>
                        <td>
                            <input type="text" name="nota2" maxlength="10" 
                                   style="width: 60px;text-align: right" 
                                   value="${alumno.nota2}"/>
                        </td>
                    </tr>

                    <tr>
                        <td><label for="nota3">Nota 3</label></td>
                        <td>
                            <input type="text" name="nota3" maxlength="10" 
                                   style="width: 60px;text-align: right" 
                                   value="${alumno.nota3}"/>
                        </td>
                    </tr>


                    <tr>
                        <td><label for="comentario">Comentario</label></td>
                        <td>
                            <input type="text" name="comentario" 
                                   style="width: 200px"  maxlength="50" 
                                   value="${alumno.comentario}"/>
                        </td>
                    </tr>

                    <tr>
                        <td colspan="2">&nbsp;</td>
                    </tr>
                    <tr>
                        <td colspan="2" style="text-align: center">
                            <input type="button" value="Cancelar" 
                                   onclick="cancelar();"/>
                            <input type="submit" value="Enviar Datos"/>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </form>

        <div style="margin: auto;display: table;color: red">${msg}</div>
    </body>
</html>
